package com.springboot.demo.copy;

import java.util.List;

/**
 * 动物
 *
 * @author supu
 * @create 2018-10-25 11:02
 **/
public class Animal {
    private List<Student> students;

    private Person person;

    public Person getPerson() {
        return person;
    }

    public void setPerson(Person person) {
        this.person = person;
    }

    public List<Student> getStudents() {
        return students;
    }

    public void setStudents(List<Student> students) {
        this.students = students;
    }

    @Override
    public String toString() {
        return "Animal{" +
                "students=" + students +
                ", person=" + person +
                '}';
    }
}
